package cn.cvs.service.forum;

import cn.cvs.pojo.Comment;
import cn.cvs.pojo.Forum;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ForumService {
    List<Forum> list(int currentPageNo, int pageSize);

    int getCount();

    int addForum(Forum forum);

    Forum getForumById(Integer id);


    List<Forum> listPage(Integer state,  Integer pageIndex,  Integer pageSize);

    int count(Integer state);

    Forum selectById(Integer id);

    int updateById(Forum forum);
}
